SW_RST_DAT=Val_0x0, SW_RST_CMD=Val_0x0, SW_RST_ALL=Val_0x0
Software Reset Register
SW_RST_ALL | Software Reset for All. This reset affects the entire Host Controller except for the card detection circuit. During its initialization, the Host Driver sets this bit to 0x1 to reset the Host Controller. All registers are reset except the capabilities register (SDMMC_CAPABILITIES1_R and SDMMC_CAPABILITIES2_R). If this bit is set to 0x1, the Host Driver must issue reset command and reinitialize the card. 0 (Val_0x0): Work 1 (Val_0x1): Reset |
SW_RST_CMD | Software Reset for CMD line. This bit resets only a part of the command circuit to be able to issue a command. This reset is effective only for a command issuing circuit (including response error statuses related to Command Inhibit for CMD line control) and does not affect the data transfer circuit. Host Controller can continue data transfer even after this reset is executed while handling subcommand-response errors. The following registers and bits are cleared by this bit:
0 (Val_0x0): Work 1 (Val_0x1): Reset |
SW_RST_DAT | Software Reset for DAT line. This bit is used in SD or eMMC modes and it resets only a part of the data circuit and the DMA circuit is also reset. The following registers and bits are cleared by this bit: SDMMC_BUF_DATA_R register:
0 (Val_0x0): Work 1 (Val_0x1): Reset |